A 9 a.m. caller told police that a man had a gun at the Red Carpet Motel on Route 46, Police Chief Michael Foligno said.
Borough police responded with a Bergen County Regional SWAT team and county sheriff's officers and established a perimeter, Foligno said.
A room where the man was believed to be was cleared, along with an adjoining room, the chief said.
Video surveillance showed the suspect --identified as Ronnie Shertel, 37, of Hillsborough -- him in another room "walking around carrying [the gun] in his waistband," Foligno said.
Police convinced Shertel to come out, then took him into custody.
A search of the room turned up a .380-caliber Lorcin, the chief said.
Shertel -- who records show has a criminal history in Bergen, Somerset and Passaic counties -- was charged with two weapons offenses.
He was later released because of the coronavirus pandemic, authorities said.
Click here to follow Daily Voice Middletown and receive free news updates.